ComponentOne Bitmap for UWP
C1.UWP.DX Assembly / C1.Util.DX.Direct3D11 Namespace / Device1 Class / OpenSharedResource1 Method / OpenSharedResource1<T>(IntPtr) Method

In This Topic
    OpenSharedResource1<T>(IntPtr) Method
    In This Topic
    Gives a device access to a shared resource that is referenced by name and that was created on a different device. You must have previously created the resource as shared and specified that it uses NT handles (that is, you set the ResourceMiscFlags.SharedNthandle flag).
    Syntax
    'Declaration
     
    Public Overloads Function OpenSharedResource1(Of T As ComObject)( _
       ByVal resourceHandle As System.IntPtr _
    ) As T
    public T OpenSharedResource1<T>( 
       System.IntPtr resourceHandle
    )
    where T: ComObject

    Parameters

    resourceHandle

    Type Parameters

    T
    See Also